package com.pureut.order.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.pureut.order.domain.SalesOrderDetail;
import com.pureut.order.vo.SalesOrderDetailVo;
import lombok.Data;

import java.util.Date;
import java.util.List;

/***
 * 销售订单查看 出参
 * Author:C
 * Date:2022/11/30 17:50
 * @DESC
 */
@Data
public class SalesOrderViewDto {

    /**
     * id
     */
    private long id;

    /**
     * 客户id
     */
    private long customerId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 客户编码
     */
    private String customerCode;

    /**
     * 备注
     */
    private String remark;

    /**
     * 合同url
     */
    private String contractUrl;

    /**
     * 订单类别
     */
    private String orderType;

    /**
     * 订单类别(字典值)
     */
    private String orderTypeDict;

    /**
     * 订单优先级
     */
    private String orderPriority;

    /**
     * 订单优先级(字典值)
     */
    private String orderPriorityDict;

    /**
     * 关结原因
     */
    private String closeReason;

    /**
     * 归属人
     */
    private String attributor;

    /**
     * 归属人
     */
    private String userId;

    /**
     * 明细列表
     */
    private List<SalesOrderDetailDto> salesOrderDetailList;
}
